package com.library.dao;

import java.util.ArrayList;

public interface ReservationDAO {
	public boolean insert(Reservation reservation);
	public boolean remove(int reservationId);
	public boolean update(Reservation reservation);
	public Reservation findByKey(int reservationId);
	public ArrayList<Reservation> findAll();
	public int getNoReservationWith(String status, int bookTitleId);
	public ArrayList<Reservation> findReservedBook(int userId);
	public ArrayList<Reservation> findByBookTitleId(int bookTitleId, String status);
}
